package com.ysk.test.demo.service;

import com.ysk.test.demo.pojo.Role;

import javax.websocket.server.PathParam;
import java.util.List;

public interface RoleService {
    List<Role> findAll();

    int save(String rName);

    int delete(Integer rId);

    int update(@PathParam("rId") Integer rId, @PathParam("rName") String rName);
}
